package com.monkey.model.user;

import java.math.BigDecimal;

/**
 * desc: 玩家信息
 * auth: chenxiaobin
 * data: 2018/1/13.
 */
public class UserData {
    private Integer userId;
    private String name;
    private String phone;
    private String head;
    private String wallet;
    private BigDecimal money;
    private BigDecimal gold;
    private BigDecimal bonusTotal;
    private int monkeyNum;
    private boolean enable;

    public UserData(User user) {
        this.userId = user.getId();
        this.name = user.getName();
        this.phone = user.getPhone();
        this.head = user.getHead();
        this.wallet = user.getWallet();
        this.money = user.getMoney();
        this.gold = user.getGold();
        this.bonusTotal = user.getBonusTotal();
        this.monkeyNum = user.getMonkeyNum();
        this.enable = user.getEnable();
    }

    public Integer getId() {
        return userId;
    }

    public String getName() {
        return name;
    }

    public String getPhone() {
        return phone;
    }

    public String getHead() {
        return head;
    }

    public String getWallet() {
        return wallet;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public BigDecimal getGold() {
        return gold;
    }

    public BigDecimal getBonusTotal() {
        return bonusTotal;
    }

    public int getMonkeyNum() {
        return monkeyNum;
    }

    public boolean getEnable() {
        return enable;
    }
}
